<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/statics/site/javascript/easySlider1.5.js"></script>
<!--滑动模块-->
<script type="text/javascript">
    $(document).ready(function(){
        $("#slider").easySlider({
            controlsBefore: '<p id="controls">',
            controlsAfter:  '</p>',
            auto: true, 
            continuous: true
        });     
    }); 
</script>
<div class="banner">
  <div id="slider">
    <ul>                
        <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/?r=site/screens" target="_self"><img src="<?php echo Yii::app()->request->baseUrl; ?>/statics/site/images/home1.png" alt="产品截图" title="产品截图" /></a></li>
        <?php if (!empty(Yii::app()->params['app']['mid'])){?>
        <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/?r=site/download" target="_self"><img src="<?php echo Yii::app()->request->baseUrl; ?>/statics/site/images/home2.png" alt="产品下载" title="产品下载" /></a></li>      
        <?php }?>
    </ul>
 </div>
 </div>